<!DOCTYPE html>
<html>
<head>
<title>Linux 2.6</title>
</head>

<body>
 <button id="start_emulation">Start Emulation</button>    
<div id="screen_container">
    <div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
    <canvas style="display: none"></canvas>
</div>
</body>
<script src="libv86.js"></script>
<script>
    "use strict";
    window.onload = function()
    {
        window.emulator = new V86Starter({
            memory_size: 32 * 1024 * 1024,
            vga_memory_size: 2 * 1024 * 1024,
            // Uncomment to see what's going on
            screen_container: document.getElementById("screen_container"),
            bios: {
                url: "bios/seabios.bin",
            },
            vga_bios: {
                url: "bios/vgabios.bin",
            },
            cdrom: {
                url: "cdrom/linux.iso",
            },
            autostart: true,
            disable_keyboard: false,
        });

    };

</script>
</html>
